﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/AdminMaster.master" AutoEventWireup="true" CodeFile="PaymentStatus.aspx.cs" Inherits="home_PaymentStatus" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table style="width: 100%;">
        <tr>
            <td colspan="2">
                <div style="margin-left: 0px;">
                    <asp:GridView ID="gvUnpaidInvoices" runat="server" DataKeyNames="InvoiceID"
                        PageSize="10" AllowPaging="true" Width="100%"
                        AutoGenerateColumns="false" OnPageIndexChanging="gvUnpaidInvoices_PageIndexChanging"
                        HeaderStyle-Height="30px">
                        <Columns>
                            <asp:BoundField DataField="InvoiceID" HeaderText="&nbsp;&nbsp;Invoice ID">
                                <ItemStyle HorizontalAlign="Left" Width="7%" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="InvoiceNo" HeaderText="&nbsp;&nbsp;InvoiceNo">
                                <ItemStyle Width="7%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="AssessorFullName" HeaderText="&nbsp;&nbsp;Assessor Name">
                                <ItemStyle Width="15%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="InvoiceDate" HeaderText="&nbsp;&nbsp;Invoice Date" DataFormatString="{0:dd/MM/yyyy}">
                                <ItemStyle Width="8%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="InvoiceAmount" HeaderText="&nbsp;&nbsp;Invoice Amount">
                                <ItemStyle Width="10%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CandidateDetails" HeaderText="&nbsp;&nbsp;Candidate Details">
                                <ItemStyle Width="15%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="InvoiceComment" HeaderText="&nbsp;&nbsp;Invoice Comment">
                                <ItemStyle Width="20%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>

                        </Columns>
                        <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#E2DED6" ForeColor="blue" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <EditRowStyle BackColor="#CCCCCC" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div style="margin-left: 0px;">
                    <asp:GridView ID="gvPaidInvoices" runat="server" DataKeyNames="InvoiceID" AllowPaging="True" Width="100%"
                        AutoGenerateColumns="False" OnPageIndexChanging="gvPaidInvoices_PageIndexChanging"
                        HeaderStyle-Height="30px">
                        <Columns>
                            <asp:BoundField DataField="InvoiceID" HeaderText="Invoice ID">
                                <ItemStyle HorizontalAlign="Left" Width="8%" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="InvoiceNo" HeaderText="InvoiceNo">
                                <ItemStyle Width="7%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="AssessorFullName" HeaderText="Assessor Name">
                                <ItemStyle Width="15%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="InvoiceDate" HeaderText="Invoice Date" DataFormatString="{0:dd/MM/yyyy}">
                                <ItemStyle Width="8%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="InvoiceAmount" HeaderText="Invoice Amount">
                                <ItemStyle Width="8%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="PaymentDate" HeaderText="Payment Date" DataFormatString="{0:dd/MM/yyyy}">
                                <ItemStyle Width="10%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="PaymentAmount" HeaderText="Payment Amount">
                                <ItemStyle Width="8%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="PaymentID" HeaderText="Payment ID">
                                <ItemStyle Width="6%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CandidateDetails" HeaderText="&nbsp;&nbsp;Candidate Details">
                                <ItemStyle Width="15%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="InvoiceComment" HeaderText="&nbsp;&nbsp;Invoice Comment">
                                <ItemStyle Width="20%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="PaymentComment" HeaderText="Payment Comment" >
                                <ItemStyle Width="20%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                        </Columns>
                        <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#E2DED6" ForeColor="blue" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <EditRowStyle BackColor="#CCCCCC" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>

